package com.cug.campus_sh_market_server.entity.myenum;

/**
 * @author sxt
 * @version : 1.0.0
 */
public enum GoodsStatusEnum {

    ON_SALE("上架", 0),
    OFF_SALE("下架", 1),
    SALE_OUT("已售出", 2);

    GoodsStatusEnum(String userIns, Integer typeCode) {
        this.des = userIns;
        this.typeCode = typeCode;
    }


    /**
     * 类型标识
     */
    private final String des;

    /**
     * 类型码
     */
    private final Integer typeCode;


    public Integer getTypeCode() {
        return typeCode;
    }

    public String getUserDes() {
        return des;
    }
}
